#include <iostream>
using namespace std;

class Solution {
public:
    int jumpFloor(int number) {
        if (number == 0) {
            return 1;
        } else if (number == 1) {
            return 1;
        }
        int a = 1;
        int b = 1;
        while (number > 1) {
            int c = a + b;
            a = b;
            b = c;
            number--;
        }
        return b;
    }
};

int main() {
    cout << Solution().jumpFloor(1) << endl;
    cout << Solution().jumpFloor(2) << endl;
    cout << Solution().jumpFloor(3) << endl;
    cout << Solution().jumpFloor(4) << endl;
    cout << Solution().jumpFloor(5) << endl;
    cout << Solution().jumpFloor(6) << endl;
    cout << Solution().jumpFloor(7) << endl;
    cout << Solution().jumpFloor(8) << endl;
    cout << Solution().jumpFloor(9) << endl;
    cout << Solution().jumpFloor(10) << endl;
    return 0;
}